What is what does it mean in text?

Text can mean different things depending on the context. Generally, in the context of language and communication, text refers to:

The meaning of "text" is therefore heavily reliant on the situation in which it's used.